<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <h3>城市</h3>
        <!-- tips:v-model 直接写在select上 -->
        <select v-model="city">
            <option disabled>请选择</option>
            <option value="武汉">武汉</option>
            <option value="成都">成都</option>
            <option value="上海">上海</option>
        </select>
    </div>
    <script>
        new Vue({
            data:{
                city:""
            }
        }).$mount("#app")
    </script>
</body>
</html>